package com.zyb.eduorder.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zyb.eduorder.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zyb.eduorder.entity.vo.OrderQuery;

/**
 * <p>
 * 订单 服务类
 * </p>
 *
 * @author testJava
 * @since 2022-04-13
 */
public interface OrderService extends IService<Order> {

    //1 生成订单的方法
    String createOrders(String courseId, String memberIdByJwtToken);

    //条件查询带分页订单列表
    IPage<Order> getOrderPage(Long page, Long limit, OrderQuery orderQuery);
}
